<?php

namespace IDock\Insurance\DBIC\Request;

use IDock\Insurance\DBIC\Response\ProposalRecallResponse;
use IDock\Visitor\ProposalRecallVisitor;

class ProposalRecallRequest extends AllDBICRequest
{
    protected $route = 'dbic/qos/quote/cancel';

    protected $response = ProposalRecallResponse::class;

    protected $urlTip = '询价单删除接口';

    /**
     * @var  ProposalRecallVisitor $visitor
     */
    protected $visitor;

    public function generate(): array
    {
        return [
            'quoteOrderNo' => $this->visitor->inquiryNo
        ];
    }
}